package com.changgou.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient("search")
public interface SkuSearchFeign {


    /**
     * 查询方法
     * @param searchMap
     * @return
     */
    @GetMapping("/sku_search/search")
    public Map search(@RequestParam Map<String,String> searchMap);

}
